package com.zkingsoft.web.dao;

import com.zkingsoft.web.bean.BizNsy;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;

/**
 * @description 内审员查询
 * @author admin
 * @date 2020-03-26 21:49
 */
public interface BizNsyDao{

	public int insert(@Param("item") BizNsy bizNsy);
   	
   	public int batchInsert(@Param("list") List<BizNsy> bizNsyList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record") BizNsy bizNsy);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String nsyId);

	public int deleteByModel(@Param("record") BizNsy bizNsy);
	
	public List<BizNsy> selectInPage(@Param("record") BizNsy bizNsy, @Param("pageVo") PaginationVO pageVo);

	public List<BizNsy> selectByModel(@Param("record") BizNsy bizNsy);
	
	public int selectTotalRecord(@Param("record") BizNsy bizNsy);
	
	public BizNsy  selectById(String nsyId);
	public BizNsy  selectByCodeAndName(String condition);

	public BizNsy  selectForUpdate(String nsyId);
	
}